<!DOCTYPE html>
<style>
  img {
    width: 100px;
    height: 30px;
    will-change: transform;
  }
</style>
<img src="resources/simple_image.png" style="object-fit: contain"/><br/>
<img src="resources/simple_image.png" style="object-fit: cover"/><br/>
<img src="resources/simple_image.png" style="object-fit: none"/><br/>
<img src="resources/simple_image.png" style="object-fit: scale-down"/><br/>